<template>
	<view @click="goTo" class="box" style="overflow: hidden;"
		:style="{'height':`calc(100% - ${statusBarHeight + 10}px)`,'margin-top':`${statusBarHeight}px`}">
		<image src="../../static/image/jp1.png" mode=""></image>
	</view>
</template>

<script>
	import {
		mapGetters
	} from 'vuex'
	export default {
		data() {
			return {
				statusBarHeight: 0,
				safeAreaInsets: 0,
			}
		},
		methods: {

			...mapGetters(['getstatusBarHeight', 'getSaInsetBottom']),
			goTo() {
				uni.navigateTo({
					url: "/pages/homeMessage/index/index",
					
				})
			}
		},

		mounted() {
			this.statusBarHeight = this.getstatusBarHeight();
			this.safeAreaInsets = this.getSaInsetBottom();
			// setTimeout(()=>{
			// 	uni.navigateTo({
			// 		url:"/pages/homeMessage/index/index"
			// 	})
			// },1000)
		}
	}
</script>

<style scoped>
	.box {
		width: 100%
	}

	.box image {
		width: 100%;
		height: 100%;
	}
</style>